Determine the value returned by the function.
def product(x, y):
result = x * y
return result
Function Call | Return Value | |||
---|---|---|---|---|
product(2, 3) | → | |||
product(-2, 1) | → | |||
product(-1, -2) | → | |||
product(5, 3) | → |
Experiment with this code on Gitpod.io